Methods and systems for selecting and presenting content based on context sensitive user preferences

ABSTRACT

A method of selecting and presenting content based on context-sensitive learned user preferences is provided. The method includes providing a set of content items having descriptive terms. The method includes receiving user input for identifying items and, in response thereto, presenting a subset of items. The method includes receiving user selections of said items and analyzing the descriptive terms of those items to learn the user&#39;s content preferences. The method includes determining the context in which the user performed the selections and associating those contexts with the user content preferences learned from the corresponding user selections. The method includes, in response to subsequent user input, determining a context of said subsequent input and selecting and ordering a collection of items based on comparing those items&#39; descriptive terms with the user&#39;s learned content preferences associated with the determined context in which the user entered the subsequent input.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No. 12/873,622, entitled Methods and Systems For Selecting and Presenting Content Based On Context Sensitive User Preferences, filed on Sep. 1, 2010, which is a continuation of U.S. patent application Ser. No. 11/682,599, entitled Methods and Systems For Selecting and Presenting Content Based On Context Sensitive User Preferences, filed on Mar. 6, 2007, now U.S. Pat. No. 7,792,815, which claims the benefit under 35 U.S.C. §119(e) of the following applications:

-   -   U.S. Provisional Application No. 60/779,547, entitled A         Framework for Learning User Behavior With Stochastic Signatures,         filed Mar. 6, 2006;     -   U.S. Provisional Application No. 60/784,027, entitled A System         And Method For Service Solicitation Enhanced With Relevant         Personal Context to Elicit Targeted Response, filed Mar. 20,         2006;     -   U.S. Provisional Application No. 60/796,614, entitled A Learning         Model For Multiple Dataspaces With Applications To Mobile         Environment, filed May 1, 2006; and     -   U.S. Provisional Application No. 60/834,966, entitled         Seminormalization Of Signatures For Reducing Truncation Errors         And Stabilizing Relevance Promotion, filed Aug. 2, 2006;         the contents of all of the foregoing are incorporated by         reference herein.

This application is related to the following applications, filed on Mar. 6, 2007:

-   -   U.S. patent application Ser. No. 11/682,693, entitled Methods         and Systems For Selecting and Presenting Content Based On         Learned Periodicity Of User Content Selection, now U.S. Pat. No.         7,774,294;     -   U.S. patent application Ser. No. 11/682,700, entitled Methods         and Systems For Selecting and Presenting Content Based On         Dynamically Identifying Microgenres Associated With The Content,         now U.S. Pat. No. 7,774,341;     -   U.S. patent application Ser. No. 11/682,689, entitled Methods         and Systems For Selecting and Presenting Content Based On         Activity Level Spikes Associated With The Content, now U.S. Pat.         No. 7,657,526;     -   U.S. patent application Ser. No. 11/682,695, entitled Methods         and Systems For Selecting and Presenting Content Based On User         Preference Information Extracted From An Aggregate Preference         Signature, now U.S. Pat. No. 7,739,280;     -   U.S. patent application Ser. No. 11/682,533, entitled Methods         and Systems For Selecting and Presenting Content Based On A         Comparison Of Preference Signatures From Multiple Users;     -   U.S. patent application Ser. No. 11/682,596, entitled Methods         and Systems For Segmenting Relative User Preferences Into         Fine-Grain and Coarse-Grain Collections, now U.S. Pat. No.         7,529,741; and     -   U.S. patent application Ser. No. 11/682,588, entitled Methods         and Systems For Selecting and Presenting Content On A First         System Based On User Preferences Learned On A Second System.

BACKGROUND OF THE INVENTION

1. Field of Invention

This invention generally relates to learning user preferences and, more specifically, to using those preferences to personalize the user's interaction with various service providers and interactions with content query systems, e.g., to better find results to queries provided by the user and to ordering the results for presentation to the user.

2. Description of Related Art

Personalization strategies to improve user experience can be chronologically classified into two categories: (1) collaborative filtering and (2) content reordering. Each is summarized in turn.

Collaborative Filtering was used in the late 1990s to generate recommendations for users. The term collaborative filtering refers to clustering users with similar interests and offering recommendations to users in the cluster based on the habits of the other users. Two distinct filtering techniques—user based and item based—are used in filtering.

In U.S. Patent App. Pub. No. U.S. 2005/0240580, Zamir et al. describe a personalization approach for reordering search queries based on the user's preferences. The application describes a technique for learning the user's preferences and increasing the promotion level of a search result based on personalization. Zamir et al. create a user profile, which is a list of keywords and categories listing the user preferences. The profile is generated from multiple sources, such as (1) information provided by the user at the time the user registers a login, (2) information from queries that the user has submitted in the past, and (3) information from web pages the user has selected.

Some systems directed to reordering content in the context of television schedules define categories and sub-categories according to an accepted standard. User preferences are gathered using various models such as (1) user input, (2) stereotypical user models, and (3) unobtrusive observation of user viewing habits. In some implementations, these models operate in parallel and collect the user preference information.

In other systems, a set of fixed attributes is defined and all media content and all user preferences are classified using these attributes. A vector of attribute weights captures the media content and the user preferences. The systems then determine the vector product between the content vector and the user preferences vector. The system suggests content to users where the values of the vector products exceed a predetermined threshold.

BRIEF SUMMARY OF THE INVENTION

The invention provided methods and systems for selecting and presenting content based on context-sensitive learned user preferences.

Under one aspect of the invention, a user-interface method of selecting and presenting a collection of content items in which the presentation is ordered at least in part based on analyzing user selections of content items to learn the content preferences of the user according to a context within which the user selected the content and using the learned content preferences to select and order subsequent user content search results when the user is within the same context includes providing a set of content items, wherein each content item has at least one associated descriptive term to describe the content item. The content items of the set are organized into categories of related content items. The method also includes receiving incremental input entered by the user for incrementally identifying desired content items of the set and, in response to the incremental input entered by the user, presenting a subset of content items of the set to the user. The method further includes receiving actions from the user selecting content items of the subset and analyzing the descriptive terms of the selected content items to learn content preferences of the user. The method includes determining the context in which the user performed the selection actions. The context including at least one of geographic location of the user, date, day, time, and the category of the selected content items. The method also includes associating the determined contexts of the user selection actions with the user content preferences learned from the corresponding user selections. The method further includes, in response to receiving subsequent incremental input entered by the user, determining a context of said subsequent incremental input and selecting and ordering a collection of content items from the set based on a comparison of the descriptive terms of the content items of the collection with the learned content preferences of the user associated with the determined context in which the user entered the subsequent incremental input.

Under another aspect of the invention, the method also includes weighting the learned content preferences of the user according to at least one of a measure of recency of selection of the content item having the analyzed descriptive terms, number of selections of the content item having the analyzed descriptive terms, and time of use of the content item having the analyzed descriptive terms. The act of selecting and ordering the collection of content items is further based on the weighted learned content preferences so that content items associated with descriptive terms comparable to the learned content preferences having relatively higher weights are ranked relatively more highly.

Under a further aspect of the invention, the weights of the learned content preferences can be decayed as time passes from the act of learning the content preferences of the user. In addition, the weights of the learned content preferences can be decayed according to a specified reoccurring interval of time. Also, the weights of the learned content preferences can be decayed based upon the number of user selections occurring after the act of learning the content preferences of the user. Further yet, the weights of the learned content preferences associated with a given geographic location of the user can be decayed based upon an amount of time that has elapsed since the last act of decaying said weights and based upon the user selecting a content item while within said given geographic location.

Under a yet further aspect of the invention, the method also includes analyzing the categories of the selected content items to learn category preferences of the user. The selecting and ordering the collection of content items can be further based on a comparison of the categories of the content items of the collection with the learned user category preferences.

Under another aspect of the invention, at least one of the acts of receiving incremental input, presenting the subset of content items, receiving actions from the user, analyzing the descriptive terms, determining the context in which the user performed the selection actions, associating the determined contexts, determining a context of the subsequent incremental input, and selecting and ordering the collection of content items is performed on a server system remote from the user.

Under yet another aspect of the invention, at least one of the acts of receiving incremental input, presenting the subset of content items, receiving actions from the user, analyzing the descriptive terms, determining the context in which the user performed the selection actions, associating the determined contexts, determining a context of the subsequent incremental input, and selecting and ordering the collection or content items is performed on a user client device.

Under an aspect of the invention, the learned content preferences are stored on a user client device, and selecting and ordering the collection of content items includes selecting and ordering content items stored on the client device.

These and other features will become readily apparent from the following detailed description wherein embodiments of the invention are shown and described by way of illustration.

BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWINGS

For a more complete understanding of various embodiments of the present invention, reference is now made to the following descriptions taken in connection with the accompanying drawings in which:

FIG. 1 illustrates two modules of a leaning engine.

FIG. 2 illustrates a collections of signatures of a user.

FIG. 3 illustrates a collection of signatures of a user for a single dataspace in a single location.

FIG. 4 illustrates orthogonal periodicities.

FIG. 5 illustrates overlapping periodicities.

FIG. 6 illustrates sample vectors in three vector spaces.

FIG. 7 illustrates seminormalization of signature probabilities.

FIG. 8 illustrates an example of a seminormalized signature.

FIG. 9 illustrates an example of detecting an increased level of activity associated with a content item.

FIG. 10 illustrates a context-specific personal preference information service.

FIG. 11 illustrates the local tracking and strengthening of the personal preference signatures based on user activity and the content on a mobile device.

FIG. 12 illustrates the information flow when a user device makes a request to a service provider.

FIG. 13 illustrates an alternate information flow when a user device makes a request to a service provider.

FIG. 14 illustrates examples of services that benefit from the context-sensitive personal preference service.

FIG. 15 illustrates possible user device configurations for use with the learning system and the context-sensitive personal preference service.

DETAILED DESCRIPTION OF THE INVENTION

Preferred embodiments of the invention capture user preferences, for a single user or a family of users based on historical observations of the users' activities and by use of a statistical learning model (also referred to as a learning engine). In an illustrative embodiment, the users of the family are members of a household using a single interface device. The learning model identifies a signature, or set of signatures, for the entire household as a stochastic signature. This stochastic signature is used to predict future activities in which members of the family may engage. For the sake of simplicity, the description will refer to signatures and activities of a single user, when in fact, the same applies to a group of users using a single interface device.

One benefit of the learning engine is to enhance the user's experience by increasing the accuracy of the results of a user's query for content and organizing these results so as to put the most likely desired content items at the top of the results list. This increases the user's speed and efficiency in accessing the content he or she desires. In addition, the signatures can be used to identify clusters of users with similar interests for use with collaborative filtering techniques. The learning system can be one aspect of an overall system that provides content and selectable actions to the user, or the learning system can be a standalone system that monitors the user's actions across multiple systems and provides learned user preferences to external systems based on the context of the user's interaction with a particular external system.

Information Captured by Signatures

The stochastic signature is a probabilistic model, and it is an identity that can be used for validation, prediction, etc. While this type of signature can be used to identify a user according to his or her preference, it is distinguished from a unique signature that a user may employ to authenticate an item or guarantee the source of the item, for example. A stochastic signature may be created based on various types of activities, for example, watching television programs, dialing telephone numbers, listening to music, etc. Thus, embodiments of the invention are useful in a wide variety of contexts. In applications where there are multiple dataspaces to be searched, the system will use a collection of stochastic signatures related to that dataspace. For example, when searching a personal address book, calendar, or air-line schedules, the system can use the set of signatures related to that particular dataspace. In addition, the system can also learn correlated activities across dataspaces. This allows the system to learn how the user interacts with related dataspaces and use that learned behavior to personalize the presentation of content to the user. However, for the sake of simplicity, certain embodiments of the invention will be described with reference to a single dataspace interface, e.g., a television system interface.

In the context of a user device with limited input capability, for example, a television remote control, the stochastic signature is particularly useful because it can be difficult and/or time consuming to enter queries on such a limited input device. The stochastic signature increases the likelihood that the desired search results will be found based on limited query input. For example, if a particular household has generally watched a certain program at a given time in the past, stochastic signatures can be used to predict that the household will watch the program at the given time in the future. Thus, instead of requiring a member of the household to enter the title of the program, the learning system can predict that the member wishes to watch the program based on only a few button presses.

Embodiments of the present invention build on techniques, systems and methods disclosed in earlier filed applications, including but not limited to U.S. patent application Ser. No. 11/136,261, entitled Method and System For Performing Searches For Television Programming Using Reduced Text Input, filed on May 24, 2005, U.S. patent application Ser. No. 11/246,432, entitled Method And System For Incremental Search With Reduced Text Entry Where The Relevance Of Results Is A Dynamically Computed Function of User Input Search String Character Count, filed on Oct. 7, 2005, and U.S. patent application Ser. No. 11/235,928, entitled Method and System For Processing Ambiguous, Multiterm Search Queries, filed on Sep. 27, 2005, the contents of which are hereby incorporated by reference. Those applications taught specific ways to perform incremental searches using ambiguous text input and method of ordering the search results. The present techniques, however, are not limited to systems and methods disclosed in the incorporated patent applications. Thus, while reference to such systems and applications may be helpful, it is not believed necessary to understand the present embodiments or inventions.

FIG. 1 shows the architecture of an illustrative learning engine 100. There are two distinct modules to learning engine 100—a data collection module 105 and a signature computation module 110. Data collection module 105 monitors the user activity for channel tuning, DVR recording, etc. and captures the relevant statistics of the activity, for example, the duration a TV channel was watched, as well as the genres and microgenres (discussed below) of the program that was watched. In the case of a mobile device, additional information is collected, such as the type of dataspace being visited (e.g., phone book, calendar, and downloadable media content), geographic location of the mobile device, etc. Data collection module 105 can reside in a client device, where it gathers data about the users' activities and sends this data to signature computation module 110. In the alternative, data collection module 105 can reside on a remote server that serves content to the client device. In this case, the remote server collects data about the content requested by the users and passes this data to computation module 110.

As mentioned, the learning engine gathers information about channels, genres, and microgenres that the user has watched. Herein, the term “channel” refers to a tunable entity in a television system. A channel can be identified by its name (CBS, ABC, CNBC, etc.).

The term “genre” refers to the overall theme of an item. In some systems, every retrievable item is categorized into a genre. The collection of genres is system-definable, and can be as coarse or as fine-grained as necessary. In addition, the genres can be defined independent of the retrievable items and can be defined ahead of populating a content system with retrievable items. In one implementation, a function g(x) returns a subset of the set of genres for a given item. Thus, g(x) is a function with a domain space of a set of retrievable items and the range space of a set of all subsets of genres. This is so because any retrievable item may belong to more than one genre, e.g., a movie Sleepless in Seattle has a genre of movie and romance.

The term “microgenre” refers to a very refined, unambiguous theme of descriptor for a given item. For example, New England Patriots as a search item has a microgenre of NFL Football and genres of football and sports. As with genres, a search item can have multiple microgenres. While genres are “macro” themes, microgenres are “micro”, unambiguous themes; these themes come from descriptive terms and metadata within the search items. Thus, the microgenres for New England Patriots also include Tom Brady. Microgenres are not limited to a set of predetermined descriptors, as are genres in the prior art, but can be any word that describes the item. Whether a particular theme is a genre or microgenre depends on the particular item with which the theme is associated and the configuration of the content system. Thus, microgenres are dynamic and generated “on-the-fly”, while genres are static and system defined.

In dataspaces other than the television content space, the channel, genre, and microgenre approach to characterizing items is modified to reflect the attributes of the content items in that particular dataspace. Thus, for a telephone directory dataspace, the channel statistics are replaced with statistics related to the person or entity called. The genre statistics are replaced by statistics related to the type of entity called, for example, individual or business. While the microgenre statistics are replaced by statistics related to key secondary attributes of the item, such as home, office, and mobile telephone numbers as well as, for example, telephone numbers of persons related to the persons called.

Computational module 110 is sent the current day's data periodically and determines the users' signatures. In so doing, computational module 110 combines this current data with historical data using exponential smoothing or other smoothing techniques (discussed below) so that the signatures adapt over time to the users' changing preferences. Computational module 110 also performs other computations involving the signatures, for example, combining the individual signatures to obtain aggregate signatures that predict the viewing preferences of a large collection of individuals or creating signatures that capture the average activity level associated with a particular program (described in greater detail below). In one embodiment of the system, computational module 110 resides in one or more servers, to exploit the computational power of larger processors. However, in some implementations, e.g., where privacy is an issue, computational module 110 may reside in the client device.

A particular stochastic signature is a normalized vector of probabilities. The probabilities capture the historical patterns of the user's behavior with respect to a particular set of activities. An example of a signature for use with a television system is {(ABC 0.3), (CBS 0.2), (NBC 0.5)}. This signature captures that over a given time period, when the user was watching television, the user watched ABC 30% of the time, CBS 20% of the time, and NBC 50% of the time. The stochastic nature of the signature says that this is a historical average and not an exact number.

Because the system captures the user's behavior and preferences across multiple dataspaces, taking into account the geographic location of the user, or the user's client device, the multiple signatures can be represented as a set with three indices. Thus, the convention signature(t, g, s) represents a signature in geographic location g at time t for dataspace s. This allows the system to use difference subspace projections to utilize the information contained in the entire set. For example, the system may utilize the user's preferences based on activity across all geographic locations or based on a composite of multiple times for a given dataspace and given location. The composite signature is described in greater detail below.

Although time is obviously a continuous variable, for the purpose of learning the user's preferences and activities, a coarse, or discretized, view of time is used to capture all activity. Thus, the system divides time into discrete quantities and represents time as an integer from one to the number of discrete quantities in a day. For example, time can be divided into the number of minutes in a day, thereby representing time as a number 1 to 1440. In addition, this discrete representation of time can be further subdivided into time slots that encompass multiple minutes, as discussed below. The duration, and therefore the number, of time slots is selected based on the nature of the activity of the particular dataspace. For example, in the television dataspace it is appropriate to divide time into 30-minute time slots to correspond to the program boundaries. In other dataspaces, the coarseness can vary. Although it is not necessary to have the same time division in all dataspaces, the examples set forth below assume identical time slot durations for the sake of simplicity. Similarly, geographic location, though continuous, is discretized and represented by character strings. For example, the geographic location identifiers can be a postal code, a major metropolitan area, or an area of a given size with the latitude and longitude of its center being the location identifier.

There are many possible collections of signatures that capture the activities of the user or family of users at various levels of granularity. FIG. 2 shows a sample signature hierarchy for the multiple dataspace learning model, with n locations 200, m dataspaces 210, and k time slots 220. At the first level, the figure illustrates activities in each location 200. Within each location 200, the system captures dataspace-specific activities in individual signatures. Inside each dataspace 210, for each time slot 220, the system obtains a unique signature. Finally, the signature hierarchy captures the nature of the activity within the time slot by appropriate keyword 230, genre 240, and microgenre signatures 250 (or equivalent statistics depending on the dataspace, as described above). The illustrative learning system shown in the figure has 3nmk signatures in the collection.

The timeslots shown in FIG. 2 can be further divided according to the particular needs of the learning system. Thus, a top-level time slot can have lower level time slots organized beneath the top-level time slot. For example, a top-level time slot can be a day organized into lower-level time slots of an hour or half-hour increments, each having its own collection of signatures. Similarly, the day time slot can have a collection of composite signatures beneath it that aggregate all of the information of the individual time slots for that given day into a single composite signature.

FIG. 3 shows an illustrative example of the organization of a signature collection 300 for the user in the television program dataspace at a single location. At the top level, the signatures are classified into various periodicities for the user, as discussed in greater detail below. The example in FIG. 3 shows a weekday periodicity 305 and a weekend periodicity 310. Within each periodicity, signature collection 300 is further divided into individual time slots 315 with a composite 320 for each day. Within each further division exists three types of signatures: channel 325, genre 330, and microgenre 335. Thus, there is one of each of these three types of signatures for every weekday time slot, weekend time slot, and one for each weekday composite and weekend composite. Therefore, the system captures the activities performed by the user in this single dataspace and at this single location as defined by the hierarchy present in signature collection 300.

Because activities vary widely in a multiple dataspace environment, the system can capture the user's activities, according to the signature hierarchy, as duration and/or count. In other words, the system can track the amount of time the user spent performing an activity, or the system can track the number of times the user preformed a particular activity, or the system can record both. For example, if the system is modeling a DVR recording activity or DVD ordering activity, there is no duration measure associated with it. Thus, in these cases, the system will capture the intensity of the activities by the count (frequencies) of the activities. However, other activities have duration as a natural measure of the intensity of the activities (e.g., watching a television program). While still other activities have both count and duration as a natural measure of intensity (e.g., placing a telephone call and conducting the call). To be inclusive of all activities, the system models every activity by both count and duration. Thus, there are two signatures for each keyword, genre, and microgenre division of the hierarchy. Likewise, there are two for each composite as well. For each time, location, and dataspace, a function ƒ defines the convolution of the two intensity measures into a single signature: f _(tgs):(count, duration)->single measure  (Equation 1)

For the sake of simplicity, this description omits the adjective, count or duration, in referring to signatures, opting for disambiguation based on the context.

In one embodiment of the invention, signatures capture the television viewing activity of the family of users in a single geographic location, and these signatures are used to identify and organize television program search results. The learning engine divides a day into time slots. For the purposes of this example, there are 48 time slots in a 24-hour day. Thus, one time slot corresponds to the smallest length TV-program, i.e., 30 minutes. In other implementations, time slots may be larger or smaller, for example, in a system using stochastic signatures to identify a user's telephone calling preferences, the time slots may be two to three hours long. During each time slot, the user activity is recorded and the learning system creates a time slot signature for each time slot. In addition, at the end of each day, the learning system creates a composite signature based on the data collected across all time slots within the current day. The signature is said to be composite in that it represents a user's activity across multiple time slots. As discussed in greater detail below, the learning system uses smoothing techniques to create evolving signatures that retain activities in the distant past as well as the most recent activities.

The day is divided into time slots because each family of users has a recurring viewing behavior based on the time of day. Thus, the learning system learns television-viewing preferences from the past behavior during a given time slot. Any queries for television content that originate in that time slot on a later day can use these preferences to identify and organize content by using that time slot's signature.

For example, in an illustrative family of three—husband, wife, and a child—mornings and afternoons are taken up by soap operas and talk shows; afternoons are taken up by cartoons and children's programming; and evenings are taken up by business, movies, and prime time shows. During these periods, it is likely that queries for current television content also relate to the corresponding past viewing behavior. Thus, signatures that capture this past behavior are used to identify and organize content consistent with this past behavior. However, for more aggregate behavior, independent of time slots, it is desirable to have a coarse grain view of the day's activity in the household. The time slot activity is aggregated into a day's activity; this is the basis of the composite signature. Thus, at the end of each day, the system has collected and aggregated 49 different signatures, 48 individual time slot signatures and one composite signature.

Composite signatures serve two purposes. First, if the family of users has a slight time-drift in their behavior (e.g., some days a particular user watches a given program at 10:00 AM, while other days at 10:45 AM), the time slot signatures may get shifted by one slot. However, the composite will still capture the overall viewing behavior correctly. Second, a particular user may time-shift deliberately by many time slots. The composite signatures will also correctly capture this behavior.

User Periodicity

The above example implicitly assumes that the user has a recurring behavior with a periodicity of a day. However, the learning system may utilize other periodicities, as explained below. As mentioned above, one benefit of the learning system is to enhance the user's experience by increasing the accuracy of the results of a user's query for content and organizing these results so as to put the most likely desired content items at the top of the results list. This increases the user's speed and efficiency in accessing the content he or she desires.

Towards this end, the learning system infers periodicity of activities. For example, as discussed above, there is a daily periodicity of activities. However, the daily periodicity model may not always apply, as occurs during a weekend, during which time the users' activities can be quite different from those during the week. To capture this different behavior pattern, for example, the system will utilize two different periodicities. Thus the weekday periodicity will contain data for the days during the week, while the weekend periodicity will be empty for those days and vice versa. This is an example of orthogonal periodicity.

The term orthogonal refers to the fact that the periodicity waveforms are orthogonal; i.e., if f(x) is a periodicity function and g(x) is another periodicity function, then f(x) and g(x) have orthogonal periodicity if f(x)g(x)=0; 0≦x≦∞  (Equation 2)

Equation 2 defines strong orthogonality, or pointwise-orthogonality, in contrast with the strict mathematical definition of orthogonality of functions (see F. B. Hildebrand, Introduction to Numerical Analysis, second edition, McGraw-Hill Book Company, New York, 1974, hereby incorporated by reference). FIG. 4 illustrates an example of orthogonal periodicity. The figure shows a variety of waveforms that represent the activity captured by a set of signatures for a particular dataspace in a particular location. The Y-axis is the intensity of activity during a particular day, and X-axis is the day. A weekday waveform 405 captures the activity during the days of the week (i.e., Monday-Friday). Whereas a Saturday waveform 410 and a Sunday waveform 415 capture the activity on Saturday and Sunday, respectively. A solid line shows weekday periodicity waveform 405; a short dashed line shows the Saturday periodicity waveform 410; and a long dashed line show Sunday periodicity waveform 415.

FIG. 4 illustrates the waveforms are orthogonal in that the activity level for weekday waveforms is zero during Saturday and Sunday, while the Saturday waveform is zero for all non-Saturday days, and the Sunday waveform is zero for all non-Sunday days. The system captures these orthogonal periodicities by storing the activities in distinct sets of signatures, with one set of signatures for each orthogonal period. As explained above, the set can include both individual time slot signatures as well as a composite signature for the entire orthogonal period. When a user query is submitted within a particular period, the corresponding set of signatures is used in identifying and organizing the search results.

Although the above example is in terms of a week, periodicity can extend beyond a week. For example, periodicities can exist within a day or can extend beyond a week. In addition, some periodicities may not be orthogonal. Thus, the system uses a second kind of periodicity, namely overlapping periodicity, to capture this phenomenon.

In overlapping periodieities, the periods overlap; i.e., the same time and day can belong to multiple periods, one having a larger frequency than the other. Thus, the strong orthogonality property of Equation 2 does not apply to overlapping periodicities. FIG. 5 shows an example of overlapping periodicity. In this example, a user watches a recurring program every Wednesday, along with the usual daily programs that she watches. Thus, there is a weekly period 505 with a frequency of once per week and a daily period 510 with a frequency of once per day.

Overlapping periodicities are distinguished by storing the same activities in multiple sets of signatures, one set for each overlapping periodicity. In the example of FIG. 5, the system will store the same Wednesday activity both in daily set 510 and weekly set 505. Notice that weekly set 505 does not contain activities from other days. When a query is submitted on a Wednesday, a union of both signatures is used in identifying and organizing the content results. Both signatures are combined in such as way as to reflect the fact that the weekly signature 505, anchored on Wednesdays, has a greater impact on the query results than does daily signature 510.

As mentioned above, the learning system defines periodicities according to the users' behavior. In one illustrative implementation, the system compares each recorded user action and determines the periodicity of similar actions by measuring the time that elapses between the similar actions. The similarity can be based on, for example, the user watching the same television channel or the user watching television programs of the same genre or microgenre. Therefore, if a user watches a particular television show on the first Tuesday of every month, the system would capture this as a monthly periodicity. Thus, although the system can use predefined periodicities, the system creates periodicities of any time duration as needed by the particular usage case. As mentioned above, capturing the user's viewing preferences in the television dataspace is only one example of an implementation of the learning system. Other examples include learning the user's dialing preferences in the telephone dataspace or tracking the user's buying behavior in the internet dataspace.

Signatures as Multiple Vectors

As explained above, vectors can be used to capture the family of users' behavior. A vector is defined as a linear array of numbers. Every vector belongs to a vector space. In one embodiment of the learning system, the system only operates in vector spaces in R^(+n), defined as R ^(+n)={(x ₁ ,x ₂ , . . . , x _(n))|x _(i)≧0 all i}  (Equation 3)

The dimensionality of the vector space depends on the type of vector. For example, the dimensionality of a channel vector space is the number of channels in the television system. The values in the vector also depend on the type of vector; e.g., it can be duration or count or any other metric deemed appropriate to capture the activity of the family of users. FIG. 6 shows an example of a collection of vectors capturing the users' activity between 10:00 AM and 10:30 AM on a weekday.

The vectors in FIG. 6 correspond to three different vector spaces—channel, genre, and microgenre. The dimensions of these vector spaces are the number of channels in the TV system, the number of genres defined in the learning system, and the number of microgenres dynamically created in the learning system, respectively. Only nonzero values are stored in the various vectors. All other values are implicitly zero and are not stored in the system. Thus, the learning system fundamentally stores all vectors as sparse vectors. The technology of sparse vectors and sparse matrix computations eases the burden of working with large vector spaces (see I. S. Duff, A. M. Erisman, and J. K. Reid, Direct Methods for Sparse Matrices, Monographs on Numerical Analysis, Oxford Science Publications, Clarendon Press, Oxford, 1986, for a description of numerical computations using sparse matrices and sparse vectors, hereby incorporated by reference).

A channel vector 605 in the figure has nonzero values for channels CBS, ABC, and CNBC. The values correspond to the number of minutes the user watched each channel between 10:00 AM and 10:30 AM. Similarly, the program genres are captured in a genre vector 610. In this example, the CBS and CNBC channels were broadcasting programs of type business and ABC was broadcasting a program of type comedy. Finally the program microgenres are captured in a microgenre vector 615. In the above example, ABC was broadcasting the comedy show Seinfeld, CNBC was broadcasting a business show Squawkbox, and no microgenre was created for the CBS show.

As previously mentioned, the techniques described above can be implemented in data collection modules and signature computation modules that reside on either a client device or a remote server system. Thus, the channel, genre, and microgenre data can be gathered and processed locally by the client device, or this information can be sent to a remote server system for processing. Likewise, the signatures can reside on a client device or on a remote server system for use as described below.

In addition to capturing the user's activities according to keyword (i.e., channel in the television dataspace context), genre, and microgenre, the system also learns the amount of time the user spends in each dataspace independent of location and time slot. This gives rise to yet another signature: the dataspace fraction signature. The dataspace fraction signature (herein “dfs”) has the coordinates of time and location and is represented by dfs(t, g). The signature dfs(t, g) is a normalized probability vector indicating the fraction of time (and/or activity count) the user spent in various dataspaces. For example, dfs(t, g)[s] contains the value indicating the fraction of time and/or count spent in dataspace s, at time t in location g. This two-coordinate signature is used to reorder the search results space when a search across dataspaces is performed. Meanwhile, as described above, a three-coordinate signature is used to reorder the items within each dataspace, e.g., ks(t, g, s) denotes a keyword signature in time slot t, in location g, and in dataspace s; ks(t, g, s)[x] denotes the value of element x in the keyword signature. Therefore, when the user initiates a search across all dataspaces, the system will reorder content items from the multiple dataspaces according to the user's dataspace preferences based on the information contained in the dataspace fraction signature. If the user performs actions in one particular dataspace relative to another, the result from the more heavily used dataspace would be promoted over the results from the lesser-used dataspace.

The following example is provided to illustrate this aspect of the learning system. A mobile user visited the telephone dataspace 30 times, the television dataspace 20 times, and the web dataspace 10 times while located in Denver during the 10 AM time slot. During these interactions with the system, the user called Sam, Sally, and Stewart, speaking for 5, 15 and 10 minutes respectively. The user watched a television program entitled “Seinfeld” for 30 minutes. In addition, the user browsed the Google webpage for 10 minutes and Yahoo! webpage for 20 minutes, respectively. Using a count measure for the dataspace fraction signature and a duration measures for the television, telephone, and web dataspaces, the keyword signature and dataspace fraction signature ensemble, will be as follows:

dfs(10, “Denver”)[“phone-space”]=0.5

dfs(10, “Denver)[“TV-space”]=0.33

dfs(10, “Denver”)[“web-space”]=0.17

ks(10, “Denver”, “phone-space”)[“Sam”]=0.17

ks(10, “Denver”, “phone-space”)[“Sally”]=0.50

ks(10, “Denver”, “phone-space”)[“Stewart”]=0.33

ks(10, “Denver”, “TV-space”)[“Seinfeld”]=1.0

ks(10, “Denver”, “web-space”)[“Google”]=0.33

ks(10, “Denver”, “web-space”)[“Yahoo!”]=0.67

Thus, if the user enters a text query starting with the letter “S”, all results beginning with the letter “S” would be presented to the user. However, the matching results from the phone-space would be promoted over the results from the TV-space and the web-space because the dataspace fraction signature probability for the phone-space is the greatest. This is so even though the probability for the lone TV-space item is greater than any of the phone-space items. Within the phone-space, the individual items would be sorted according to the keyword signature probability values. Therefore, the entry for “Sally” would be promoted over the other phone-space items. This example clearly shows the Bayesian property of the signatures. That is, the probabilities add up to one, conditioned on the fact that the user is in a particular dataspace (see B. W. Lindgren, G. W. McElrath, D. A. Berry, Introduction to Probability and Statistics, Macmillan publishing co., New York, 1978, herein incorporated by reference, for more details on Bayes's theorem).

As described above, the signatures associated with a particular dataspace i.e., keyword, genre, and microgenre signatures) capture the probability of the user performing a future action or desiring a future content item based on past activities and selections that took place within that particular dataspace. Thus, the individual dataspace signatures are conditional signatures in that the probabilities they measure are conditioned upon the user operating in the particular dataspace to which those signatures relate.

The dataspace fraction signature probabilities can be used to weight the individual dataspace signature probabilities to provide a measure of the probability of a user performing a given action outside of a particular dataspace. This operation gives rise to an unconditional signature. The unconditional signature measures the probability of the user performing an action outside of any particular dataspace based on the information contained in the individual dataspace signatures and the information contained in the dataspace fraction signatures. The system uses Equation 4, below, to determine the unconditional keyword signature for an activity “A”. Unconditional signatures for genre and microgenre can be determined in the same way. uks(t,g,s)[A]=ks(t,g,s)[A]*dfs(t,g)[s]  (Equation 4)

The learning system can organize the various dataspaces, content, and selectable actions into a tree hierarchy, which the user can navigate using the client device. The unconditional signatures are used by the learning system to rearrange the various branches of the tree structure so as to present the most favored content to the user based on the probabilities stored in the signatures. In addition, the unconditional probabilities enable the system to present lists of commingled selectable actions and content items based on the most commonly, performed actions and most commonly exhibited preferences. For example, the learning system is capable of creating a “My Favorites” list based on the various signatures, or the system could rearrange a content tree hierarchy in order to reduce the effort required of the user to reach certain preferred content.

Correlated Activity Signatures

The learning system is also capable of learning correlated activities across dataspaces. A correlated activity is an activity performed in a secondary dataspace while starting from a primary dataspace. In general, by capturing correlated activities across dataspaces, the system is learning not only standalone actions and content preferences, but the system is learning chains of actions performed by the user. For example, a user enters the telephone dataspace of his device to make a telephone call. During the telephone call, the user wishes to enter the calendar dataspace to search for and review the date and time of a particular appointment. In this example, the user remains engaged with the primary dataspace, the telephone dataspace, for the duration of the telephone call. The user also performs a correlated action, the act of searching for an appointment, in the secondary dataspace, which is the calendar dataspace.

The purpose of learning the correlated activities is to achieve better ordering of the search query results in the secondary dataspace based on the correlated activities learned by the system. Thus, the correlated activity signatures provide yet another way to learn the preferences of the user and how the user interacts with his or her client device. This additional set of preferences and learned actions further enhances the user experience.

In general, the system has an activity matrix A that is a square N by N matrix, where N is the number of dataspaces. Each entry in the matrix is a signature vector that captures the actions performed in the secondary dataspace while operating from the primary dataspace. Thus, A is in fact a three dimensional matrix, which can be defined as follows: A(i,i)[x]:=0; 1≦i≦N, for all items xεdataspace i A(i,j)[x]:=average number of accesses of item x in dataspace j while in dataspace i; 1≦i≦N; 1≦j≦N; i≠j; for all items xεdataspace j  (Equation 5)

The matrix determined by Equation 5 captures the correlated activities of the user, and therefore can be used in accordance with the techniques disclosed herein to predict the probability that the user would perform an action in a secondary dataspace while operating from a primary dataspace. In addition, the correlated activity signatures can be used to determine the unconditional probability of the user accessing a keyword item x in dataspace s, location g, and at time t. The probability determination depends in part on the mode of access utilized by the user. As described in Equation 6 below, if the user iso entering dataspace s at the root level of the client device (i.e., the user is not currently in a dataspace), the probability determination is based on the dataspace fraction signature and the relevant signatures for the selected dataspace (e.g., the keyword signature, the genre signature, or the microgenre signature). If the user is entering dataspace s from another dataspace, the probability determination is based on the dataspace fraction signature and the correlated activity matrix A.

$\begin{matrix} {{{{Prob}\lbrack x\rbrack} = \begin{Bmatrix} {{d\; f\;{{s\left( {t,g} \right)}\lbrack s\rbrack}*k\;{{s\left( {t,g,s} \right)}\lbrack x\rbrack}};} & {s\mspace{14mu}{is}\mspace{14mu}{visted}\mspace{14mu}{at}\mspace{14mu}{root}\mspace{14mu}{level}} \\ {{\sum\limits_{1\; i\; N}\;{{{A\left( {i,s} \right)}\lbrack x\rbrack}*d\; f\;{{s\left( {t,g} \right)}\lbrack i\rbrack}}};} & {otherwise} \end{Bmatrix}}\;} & \left( {{Equation}\mspace{14mu} 6} \right) \end{matrix}$

For the sake of simplicity, the learning system's ability to capture correlated activities was described in terms of a primary and secondary dataspace only. However, the invention is not limited to correlations between only two dataspaces. The learning system can also capture user activities and preferences when the user enters a first dataspace, enters and performs an action in a second dataspace, and enters and performs yet further actions in a third dataspace. In fact, using the principles and techniques described above, the learning system can create N! number of correlation signatures.

Signature Clustering

As described above, the users' activity and preferences are stored as vectors. Capturing the users' activity and preferences as vectors has many benefits. Among these is the fact that because signatures are vectors, one can easily determine when two signatures are nearly identical. For example, let {tilde over (x)} and {tilde over (y)} be two signatures in the same vector space. Lower case letters in bold will generally denote normalized probability vectors in appropriate dimension. A tilde over the top of a vector will generally denote un-normalized vectors. Greek symbols and lower case letters, without bold, will generally denote scalars. If

$\begin{matrix} {{{{{vector}\mspace{14mu}{{angle}\left( {\overset{\sim}{x},\overset{\sim}{y}} \right)}} = {\frac{{\overset{\sim}{x}}^{T}\overset{\sim}{y}}{{\overset{\sim}{x}}{\overset{\sim}{y}}} \geq \left( {1 - ɛ} \right)}},}\;} & \left( {{Equation}\mspace{14mu} 7} \right) \end{matrix}$

where ε is a small fraction in the vicinity of 0.01,

then the two signatures are nearly identical. Equation 7 states that if the cosine of the angle between the two signatures is small enough, then they are nearly identical, up to a scaling factor. The scaling factor recognizes that two vectors may have different magnitudes, but still be overlapping. For example, a first user has a genre vector of {(sports 20); (world news 50)} and a second user has a genre vector of {(sports 60); (world news 150)} where the first value within the vector elements is the genre and the second value is minutes watched per day. Although the magnitudes of these two vectors are different, the genres and ratio of minutes of sports to world news is identical. Thus, the learning system identifies these two signatures as nearly identical. The learning system can exploit this aspect in a variety of ways, as described in greater detail below.

In one illustrative implementation, the system clusters signatures that are similar into subsets. The subsets can then be used for many purposes, such as promotions, targeted advertisements, etc. For example, if several users of a particular cluster have watched a certain television program, this television program will be recommended to other users of the cluster who have yet to view the program. Similarly, outside of the television context, if users of a particular cluster have purchased a given item, ads for this item are presented to the other users of the cluster who have not purchased the item.

The notion of viewing signatures as vectors can be exploited to determine the similarity between the signatures by using Equation 7. Each cluster represents nearly identical signatures. Initially, the procedure starts with singleton clusters, and recursively collapses them until no more merging is possible. An example of pseudo-code that generates clusters of signatures is provided below:

  PROCEDURE  Inputs:   1. N signatures s₁, s₂, . . . , s_(N)   2. Tolerance threshold ε, 0 ≦ ε ≦ 1.0  Outputs:   1. Sets Ψ₁, Ψ₂, . . ., Ψ_(c) containing the signature clusters  BEGIN   1. Initially define singleton sets Ω_(j) := {s_(j) }; 1 ≦ j ≦ N   2. merged :=FALSE   3. for 1 ≦ i ≦ N - 1 do    a. if set Ω_(i) = Ø, continue    b. for i+1 ≦ j ≦ N do     i. if set Ω_(j) = Ø, continue     ii. If for every x ε Ω_(i) and every y ε Ω_(j)      vector_angle(x, y) ≧ (1 - ε), then       A. Ω_(i) := Ω_(i) ∪ Ω_(j)       B. Ω_(j) := Ø       C. merged := TRUE      end_if     end_for    end_for   4. if merged = TRUE, go to step 2.   5. c := 0   6. for 1 ≦ i ≦ N do    a. if Ω_(i) ≠ Ø then     i. c := c + 1     ii. Ψ_(c) := Ω_(i)    end_if   end_for  END END_PROCEDURE Signature Decomposition

In addition, the learning system can decompose one or more signatures to approximate the number of family members in a signature, the gender of each family member, and the ages of the family members. The system uses a nonlinear optimization model to approximate these values. In this example, the learning system uses genre signatures; similar models apply to channel and microgenre signatures.

The technique starts with historical, human behavioral, statistical data on television viewing habits obtained from generally available data (such as the user viewing preferences available from the DVB Project, see www.dvb.org). In particular, Δ is a set of all genres that are available to the viewing public. Upper case Greek letters in bold font generally denotes sets. Thus, a collection of probability distributions exists, namely f _(g) ^(y)(t)≡Probability that a genre g would be watched by a person of gender y and age t; y={male, female}; 0≦t≦∞; gεΔ  (Equation 8)

The learning system also provides a signature s that collectively describes the viewing habits of the household. The illustrative maximum likelihood estimation problem formulated below defines the most likely set of household members that may produce the signature s. For the purposes of this example, all vectors, normalized or unnormalized, are lower case bold letters.

The inputs to the optimization problem are the probability distribution functions f_(g) ^(y) (t) and a family signature s that collectively represents the activities of a household. The outputs are n, the number of members in the household, where 1≦n, the age and gender of each family member i, where 1≦i≦n, and a set of signatures s₁, s₂, . . . , s_(n), where signature s_(i) corresponds to family member i. Further, let N=|Δ|, the cardinality of the Genre set, Φ=set of all nonnegative basis matrices B for the vector space R^(+N) (i.e., B=[b₁, b₂, . . . , b_(N)], where b_(i) is a nonnegative N-vector and b_(i) 1≦i≦N, are linearly independent, and for any vector sεR^(+N),

${s = {\sum\limits_{i = 1}^{i = N}\;{\alpha_{i}b_{i}}}},$ with α_(i)≧0).

The decision variables are as follows: basis matrix BεΦ, variables x₁, x₂, . . . , x_(N), which represent the ages of family members with signatures corresponding to the basis vectors in B, and variables y₁, y₂, . . . , y_(N), which represent the gender of the corresponding family members.

For the purpose of optimization, it is necessary to define an objective function to maximize. Towards this end, the system uses an intermediate function, as follows:

$\begin{matrix} {{{s = {\sum\limits_{i = 1}^{i = N}\;{\alpha_{i}b_{i}}}},{\alpha_{i} \geq 0},{{{for}\mspace{14mu}{any}\mspace{14mu}{vector}\mspace{14mu} s} \in {R^{+ N}\mspace{14mu}{and}}}}\mspace{14mu}{{{any}\mspace{14mu}{basis}\mspace{14mu}{Matrix}\mspace{14mu} B} \in \Phi}} & \left( {{Equation}\mspace{14mu} 9} \right) \\ {{{{h\left( {v,x,y} \right)}\overset{\Delta}{=}{\prod\limits_{1 \leq k \leq N}\;{{f_{k}^{y}(x)}v^{(k)}}}},{{where}\mspace{14mu} v^{(k)}\mspace{14mu}{is}\mspace{14mu}{the}\mspace{14mu} k^{th}\mspace{14mu}{component}\mspace{14mu}{of}\mspace{14mu}{vetor}\mspace{14mu} v}}\;} & \left( {{Equation}\mspace{14mu} 10} \right) \end{matrix}$

Function h(v, x, y) evaluates the likelihood probability of a person with age x and gender y having a signature v. Note that the system is taking the product of all the components of vector v. Thus, the maximum likelihood estimation becomes

$\begin{matrix} {\underset{B \in \Phi}{Maximize}{\sum\limits_{1 \leq j \leq N}\;{h\left( {{\alpha_{j}b_{j}},x_{j},y_{j}} \right)}}} & \left( {{Equation}\mspace{14mu} 11} \right) \end{matrix}$

subject to the following constraints:

$\begin{matrix} {{s = {\sum\limits_{i = 1}^{i = N}\;{\alpha_{i}b_{i}}}};{\alpha_{i} \geq 0};} & \left( {{Equation}\mspace{14mu} 12} \right) \\ {{1 \leq x_{j} \leq \infty};{1 \leq j \leq N};} & \left( {{Equation}\mspace{14mu} 13} \right) \\ {{y_{j} = \left\{ {0,1} \right\}};{1 \leq j \leq {N.}}} & \left( {{Equation}\mspace{14mu} 14} \right) \end{matrix}$

This optimization problem can be shown to be NP-Hard (see M. R. Carey, and D. S. Johnson, Computers and Intractability A Guide to the theory of NP-completeness, W.H. Freeman and Company, New York, 1979, herein incorporated by reference), since any technique needs to search over the space of all bases in R^(+N) and the fact that the y variables are integer variable. This problem has some similarities to another non-standard class of optimization problems known in the literature as semi-definite programs. An approximate solution to this problem can be achieved using an illustrative technique described below.

The estimation technique uses a first approximation by converting these discrete variables to continuous variables with bounds. This makes the transformed problem amenable to differentiable optimization. The technique also uses a second approximation by identifying a subset of the set of all bases Φ as the set of bases in R^(+N) that are permutations of the coordinate basis matrix and restricts the search to this set. Given any basis from this set, the inner iteration involves a steepest ascent technique in variables (α_(j), x_(j), and z_(j)) to obtain a local maximum (where z_(j) is a continuous approximation of y_(j)). The iterations are terminated when no improvement in the objective function occurs. After termination, the gender variables that are fractional are rounded/truncated using a rounding heuristic, described below. Given a fixed basis matrix, the transformed maximum likelihood estimation problem becomes a continuous maximum likelihood estimation problem and is given by the following equations:

$\begin{matrix} {{Maximize}{\sum\limits_{1 \leq j \leq N}\;{h\left( {{\alpha_{j}b_{j}},x_{j},z_{j}} \right)}}} & \left( {{Equation}\mspace{14mu} 15} \right) \end{matrix}$

subject to the following constraints:

$\begin{matrix} {s = {\sum\limits_{1 \leq j \leq N}\;{\alpha_{j}b_{j}}}} & \left( {{Equation}\mspace{14mu} 16} \right) \\ \begin{matrix} {1 \leq x_{j} \leq \infty} & {1 \leq j \leq N} \end{matrix} & \left( {{Equation}\mspace{14mu} 17} \right) \\ \begin{matrix} {0 \leq z_{j} \leq 1} & {1 \leq j \leq N} \end{matrix} & \left( {{Equation}\mspace{14mu} 18} \right) \\ \begin{matrix} {\alpha_{j} \geq 0} & {1 \leq j \leq N} \end{matrix} & \left( {{Equation}\mspace{14mu} 19} \right) \end{matrix}$

An example of pseudo code for solving the above continuous maximum likelihood estimation problem is given below. The pseudo code consists of an outer iteration and inner iteration. In the outer iteration, the code iterates through basis matrices. While in the inner iteration, the code employs the steepest-ascent optimization technique to obtain the optimal solution, given a basis matrix.

The steepest-ascent optimization technique has three steps. First, the optimization technique obtains the gradient of the objective function at the current iteration. This is done in step 2.c.ii, set forth below, using difference approximations. The technique of using difference approximations, as well as other numerical and matrix techniques can be found in D. G. Luenberger, Linear and Nonlinear Programming, second edition, Addison-Wesley publishing company, Reading Mass., 1989, herein incorporated by reference. Second, the optimization technique projects the gradient onto the null space of B, to obtain the ascent direction d (step 2.c.iii). Third, the optimization technique obtains the optimal step length along d (step 2.c.iv). In the field of optimization, this is called a step-length computation and involves a one-dimensional optimization. The inner iterations proceed until no more improvement in the objective function is possible. After this, the basis matrix is changed and the inner iterations are reinitiated. Finally, rounding heuristics (such as those in G. L. Nemhauser, and L. A. Wolsey, Integer and Combinatorial Optimization, John Wiley & sons New York, 1988, herein incorporated by reference) are employed to round off the fractional variables.

In the pseudo code set forth below, I is an identity matrix of order N, and P_(i) is the i^(th) permutation matrix in the sequence of permutations of the index set {1, 2, 3, . . . , N}.

PROCEDURE  Inputs:   1. The historical probabilities f_(k) ^(y)(x)   2. The family stochastic signature s  Outputs:   1. Number of family members   2. Sex of family members   3. Age of family members   4. Individual signatures of family members  BEGIN    1. Initialize:     a. Current basis matrix B := I     b. Iteration counter i := 0     c. Permutation matrix P := I     d. newOuterObj := 0; oldOuterObj := −∞     e. α_(j) := s_(j) 1 ≦ j ≦ N     f. x_(j) := 1 ≦ j ≦ N     g. z_(j) := 0 1 ≦ j ≦ N     h. stopping tolerance for inner iteration ε := 0.001     i. stopping tolerance for outer iteration β := 0.0001    2. While ((newOuterObj − oldOuterObj) / |oldOuterObj| > β) Do       //outer iteration     a. oldOuterObj := newOuterObj     b. Initialize inner iteration; newlnnerObj := 0; oldInnerObj := −∞     c. while ((newInnerObj − oldInnerObj) / |oldInnerObj| > ε) Do      i. oldInnerObj := newlnnerObj      ii. Compute the gradient vector g := [∂h/∂α_(j)], [∂h/∂x_(j)],       [∂h/∂z_(j)] using difference approximation.      iii. Project the gradient vector g on to the null space of       matrix B to obtain the direction vector d := g_(⊥B)      iv. Compute the optimal step length δ along the direction       d.       $\begin{matrix} {v.} & {\begin{bmatrix} \alpha_{j} \\ x_{j} \\ z_{j} \end{bmatrix}:={\begin{bmatrix} \alpha_{j} \\ x_{j} \\ z_{j} \end{bmatrix} + {\delta\mspace{14mu} d}}} \end{matrix}\;$       $\begin{matrix} {{vi}.} & {{newInnerObj}:={\sum\limits_{1 \leq j \leq N}{h\left( {{\alpha_{j}b_{j}},x_{j},z_{j}} \right)}}} \end{matrix}\;$    endWhile    d. i := i + 1; set P_(i) := Next permutation matrix in the sequence    e. B := P_(i)IP_(i) ^(T)    f. oldOuterObj := newOuterObj    g. newOuterObj := newInnerObj   endWhile   3. Use rounding heuristics to set fractional z_(j) variables to the    nearest integer value to obtain variables y_(j).   4. Compute n := number of α_(j) that are greater than 0.   5. Output the optimal solution:    h. Output n as the number of family members    i. For 1 ≦ j ≦ N Do      i. if α_(j) > 0 then       a. output α_(j)b_(j) as the signature of person j       b. output x_(j) as the age of person j       c. output y_(j) as the sex of person j      EndIf    EndFor  END END PROCEDURE Signature Aging

The learning system also provides for remembering past behavior and integrating it into the current signature. The fundamental reason for remembering the past is to infer a recurring pattern in the user behavior, and use the inference to aid in future navigation. Exponential smoothing is a way of gradually forgetting the distant past, while giving more relevance to the immediate past. Thus, activities done yesterday are given more relevance than activities done two days ago, which in turn is given more importance than the activities done three days ago, and so on (see V. E. Benes, Mathematical Theory of Connecting Networks and Telephone Traffic, Academic Press, New York, 1965 for additional information, herein incorporated by reference). This technique has the added advantage of reducing the amount of computer memory consumed by the signature.

The learning system uses the concept of exponential smoothing in the context of learning the user's activities. For example, a set of activities for today is captured in a signature s, whereas all of the past activities are remembered in a signature s* (s* remembers all of the past, since the recurrence relation, given below, convolutes all of the past into a single signature). At the end of the day (when the present becomes the past), the system updates s* by the recurrence relation s*=αs+(1−α)s*0≦α≦1  (Equation 20)

In Equation 20, α is called the smoothing parameter and it controls how much of the past the system remembers, and how fast the past decays—larger the α, faster the decay. Expanding the above recurrence relation into a recurrence equation illustrates the machinery of exponential smoothing. Where s*^((n)) denotes the past signature after n days and s^((n)) represents the activities done during the n^(th) day. Equation 20 expands into

$\begin{matrix} {s^{*{(n)}} = {s^{(n)} + {\left( {1 - \alpha} \right)s^{({n - 1})}} + {\left( {1 - \alpha} \right)^{2}s^{({n - 2})}} + {\ldots\mspace{11mu}\left( {1 - \alpha} \right)^{({n - 1})}s^{(1)}} + {\frac{\left( {1 - \alpha} \right)^{(n)}}{\alpha}{s^{(0)}.}}}} & \left( {{Equation}\mspace{14mu} 21} \right) \end{matrix}$

Because α is ≦1, Equation 21 clearly shows that less weight is given to the activities of that past. In some embodiments, all signatures for each macro class (channel, genre, microgenre) are smoothed using the exponential smoothing technique. The determination of when to decay a particular signature is based on the dataspace of the signature and the nature of activities performed in the dataspace. For example, in the television dataspace, a decay period of one day is a suitable period because television shows typically reoccur on a daily basis. Whereas the decay period for the telephone dataspace would be longer so as to decay at a slower rate that the television dataspace. The decay parameter, or smoothing parameter a, can be selected to control the degree of decay of the past user behavior.

The learning system also uses an adaptive decay technique to integrate the past signature information with the most recent signature information. This adaptive decay technique is based on a hybrid chronological-activity based smoothing and provides improved results over strict chronology-based aging when applied to signatures that take into account the user's geographic location. This technique enables the influence of past activities to decay over time, while still preserving the past information during the user's absence from a particular geographic location for a stretch of time. In general, the past signature will be decayed if (1) a new activity has occurred in the geographic location and (2) the elapsed time since the last signature decay event is greater than a threshold. In essence, the system freezes the signatures when no activity is happening in a given location, effectively stopping time for that location. When next an activity occurs in that location, the system smoothes the signatures based on elapsed time.

If a traditional smoothing technique were employed to decay the memory of the past once per day, for example, the signature values may decay to zero if the user were absent from the geographic location for an extended period. Thus, upon returning to that particular location, the user would effectively have to “retrain” the system by rebuilding the signatures corresponding to that location. The adaptive decay technique avoids this problem.

An illustration of an implementation of the adaptive decay technique follows. As mentioned above, signature decay occurs for all signatures in coordinates (t, g, s) (i.e., time t, geographic location g, and dataspace s), only when there is a new activity in (t, g, s). In addition, a minimum time must elapse before decaying takes place. To account for long elapsed times, the system uses the concept of epoch time, Epoch time is the absolute local time since a certain distant past. The concept of epoch time can be found in current-day operating systems (e.g., Linux and WinCE) that fix a reference point in the distant past and return the elapsed time since that reference point. For the example below, T is the epoch time when some activity x happens in (t, g, s). Note that the coordinate t is an integer denoting the discretized time denoting the time-of-day or time slot, whereas T is an epoch time. For use in the Equation 22 below, β(t, g, s) is the decay threshold for signatures, r(t, g, s) is the last time, in epoch units, that signatures in (t, g, s) were decayed, and c(t, g, s) is a vector capturing a newly performed user action (i.e., current signature) with a duration/count metric (explained above) in position x and zeros in all other positions. This technique also uses the smoothing parameter α as described above. Equation 22, shown below, is one implementations the adaptive decay technique,

$\begin{matrix} {{{ks}\left( {t,g,s} \right)} = \begin{Bmatrix} \begin{matrix} {{{\alpha\;{{e\left( {t,g,s} \right)}\lbrack x\rbrack}} + {\left( {1 - \alpha} \right){ks}\left( {t,g,s} \right)}};} \\ {{{if}\mspace{14mu} T} > {{r\left( {t,g,s} \right)} + {\beta\left( {t,g,s} \right)}}} \end{matrix} \\ {{{{ks}\left( {t,g,s} \right)} + {\frac{\alpha}{\left( {1 - \alpha} \right)}{{e\left( {t,g,s} \right)}\lbrack x\rbrack}}};{otherwise}} \end{Bmatrix}} & \left( {{Equation}\mspace{14mu} 22} \right) \end{matrix}$

Under this implementation, the system decays the signature if the time interval since the last decay is greater than the decay interval; in this case, the system performs a convex combination of the past activity and present activity. If the last decay has occurred more recently than the decay interval, then the historic signature is combined with the current signature, with a multiplier α/(1−α) applied to the current signature. The technique of using this multiplier optimizes storage. Typically, when performing an exponential smoothing operation, the past is the period of time up to time r(t, g, s), and the present is the period of time from time r(t, g, s) to time T. Under a typical application, the new activity x would be stored in a temporary storage, ts(t, g, s), along with all additional subsequent activities, until the time r(t, g, s)+β(t, g, s). At that time, the smoothing formula would combine the past with the new activities according to Equation 23. ks(t,g,s)=αts(t,g,s)+(1−α)ks(t,g,s)  (Equation 23)

The system avoids the need for temporary storage by combining each new activity with the past signature as each new activity occurs, using the multiplier described above to offset what would otherwise be a premature composition. This ensures true exponential smoothing. Although the above discussion involved only the keyword signatures, ks, the same principles and techniques apply to all other signatures described herein.

Use of Signatures to Personalize Content

As mentioned above, one illustrative use of the learning system is to enhance the user experience during a search procedure. In one illustrative implementation, the various individual, aggregate, and program signatures reside on a server system that contains a set of content items (e.g., television programs, television channels, movies, etc.). The server system uses the signatures to personalize search results provided to users of the system. In particular, the results obtained through a query are identified and reordered by promoting relevance values of individual search results based on the set of signatures. For example, in a system employing an incremental search method (as described in the above incorporated U.S. patent applications), the system begins searching for content item results as the user enters letters of a text query. The system identifies content items as candidates for presentation based on comparing the letters of the text query with descriptive terms associated with the content items. Each of these content items is associated with a base relevance value that measures the popularity of the item in the overall population. The system uses these base relevance values to rank which content items are likely sought by the user. Higher base relevance values indicate a higher overall popularity, thus, these items are assumed to be of more interest to the user than items with lower base relevance values.

However, as explained in greater detail below, the system modifies the base relevance values based on the set of user signatures. Thus, if the set of signatures indicates, given the particular time and day of the search, that it is likely the user is searching for a program with the genre of news, the system will promote the relevance values of programs with a genre of news that match the user's query text. Likewise, the system can use the channel and microgenre data associated with the content items in conjunction with the channel and microgenre signatures to promote the base relevance values. The final relevance weights of each item determine if the item is included in the result set and help determine its position in a list of results. Many different promotion techniques can be implemented; one example is the “ruthless promotion technique”, described below.

The ruthless promotion technique ensures that any particular search result item that has a nonzero probability in a user signature will have its relevance value boosted such that it will be higher than any other search result items having a zero probability value in the same user signature. For use in Equation 24 below, K is the number of search results retrieved with relevance numbers r₁, r₂, . . . , r_(K), and M is the maximum value any relevance can have, based on the general popularity of the search result. Typically, search engines assign a relevance number to query results based on ranks with some maximum bound. These ranks can be a measure of the popularity or relevance of the items based on popular opinion. Search results are displayed in the shelf space, sorted in descending order of relevance based on these ranks. (Herein, the phrase “shelf space” refers to the portion of a display screen of a device that displays the search results in response to a user query. This portion can be organized as a column of text boxes in some implementations.) The values p₁ ⁽¹⁾, p₂ ⁽¹⁾, . . . , p_(K) ⁽¹⁾ are the channel signature probabilities (0≦p_(i) ⁽¹⁾≦1) assigned by the learning system (typically, most of the p_(i) ⁽¹⁾ will be 0). The superscripts on the probabilities refer to type of signature, e.g., channel, genre, or microgenre. The ruthless promotion technique computes new relevance numbers {tilde over (r)}₁, {tilde over (r)}₂, . . . , {tilde over (r)}_(K) as

$\begin{matrix} {{\overset{\sim}{r}}_{i} = \begin{Bmatrix} {\left\lfloor {\left( {M + 1} \right){\mathbb{e}}^{p_{i}^{(1)}}} \right\rfloor;{{pi}^{(1)} > 0}} \\ {r_{i};\mspace{130mu}{{pi}^{(1)} = 0}} \end{Bmatrix}} & \left( {{Equation}\mspace{14mu} 24} \right) \end{matrix}$

The search items are then reordered using the new relevance numbers. For example, a user had watched the channels “CARTOON NETWORK” and “COMEDY CHANNEL” in the past, with the signature probabilities 0.7 and 0.3 respectively. The generic relevance numbers for channels, based on popular opinion, are 500, 300, 100, and 70, for “CBS”, “CNBC”, “COMEDY CHANNEL”, and “CARTOON NETWORK”, respectively with a maximum bound of 1000. Table 1 and Table 2 show the displayed results and their corresponding relevance values, when a query character “C” is typed. Table 1 shows the order of the query results without the benefit of the learning system, and Table 2 shows the order of the results using the ruthless promotion technique. As can be seen, the user convenience is enhanced, because fewer scrolls are required to access the most likely watched channels.

TABLE 1 Channel Relevance Number CBS 500 CNBC 300 COMEDY 100 CHANNEL CARTOON  70 NETWORK . . .

TABLE 2 Channel Relevance Number CARTOON 2015 NETWORK COMEDY 1351 CHANNEL CBS 500 CNBC 300 . . .

Other promotion techniques are within the scope of the invention, including, for example, techniques that do not necessarily ensure that a search result item that has a nonzero probability in a user signature will have its relevance value boosted such that it will be higher than any other search result items having a zero probability value in the same user signature. In particular, because there are six signatures capturing the user activity at any time of day—channel, genre, and microgenre for given time slot, and their corresponding composite signatures, these signatures are combined to compute new relevance weights. Equation 24 above shows the use of channel signature for promotion. In the example below, there is an inherent importance in these signatures, from more refined to more coarse. This variant of the ruthless promotion technique considers an aggregated promotion formula, as follows:

$\begin{matrix} {{\overset{\sim}{r}}_{i} = \left\lfloor {\sum\limits_{1 \leq k \leq 6}\;{\left( {M + 1} \right)^{k}{\mathbb{e}}^{p_{i}^{(k)}}}} \right\rfloor} & \left( {{Equation}\mspace{14mu} 25} \right) \end{matrix}$

In Equation 25, the superscript on the probabilities, p_(i) ^((k)) refers to time slot channel, microgenre, genre, followed by composite channel, microgenre, and genre signatures, with increasing values of k, respectively. Since they are being multiplied by powers of (M+1), a natural relevance importance is implied.

Signatures corresponding to overlapping periodicities are also combined to provide an aggregate signature for a particular time slot. The probabilities in the aggregate signature can be used with the promotion techniques above to identify and rank the results of search. In order to form an aggregate signature, the vectors from the overlapping signatures are added together and renormalized. For example, for a particular time slot, a user has a first signature with a periodicity of every Monday and a second signature with a periodicity of every weekday. The first signature is the genre vector {(0.2 news), (0.8 sports)}; the second signature is the genre vector {(0.1 comedy), (0.4 news), (0.5 sports)}. To form an aggregate signature, the system first arithmetically combines the two vectors to produce the new vector {(0.1 comedy), (0.6 news), (1.3 sports)}, and the system then normalizes the new vector by dividing each numerical element by the sum of the numerical elements of the vector, i.e., 2.0. Thus, the aggregate, normalized genre probability vector of the two overlapping signatures is {(0.05 comedy), (0.3 news), (0.65 sports)}.

Seminormalization of Signatures

In one implementation, the learning system uses integer arithmetic for relevance promotion computations. In particular, all probabilities are represented as integers, appropriately scaled. One compelling motivation for using integer arithmetic is to make the learning system portable to disparate hardware and operating systems, some of which may lack floating arithmetic.

The learning system uses a seminormalization approach to weight more recent activities more heavily in the signatures, while deemphasizing, but still retaining, the information from more distant activities in the signature. Thus, when personalizing services or content provided to the user, the system is more heavily influenced by more recent activities. The basic idea of this seminormalization approach is to make the long-term memory coarse-grained by bucketing small probabilities that result from less common user preferences and/or preferences captured in the more distance past, while still bounding the range of values by using a small relevance scale factor. This approach allows the system to capture both small and large probabilities without requiring a large dynamic range to define the probability bounds. Thus, a small scaling factor is used to distinguish between the relatively more probable activities in the captured in the signatures, while the relatively less probable activities are not lost due to truncation errors.

An illustrative technique for converting an unnormalized signature, x, into a seminormalized signature is provided below. In signature x, all elements x_(i) are nonnegative integers, representing the activity intensity. Signature x is an N-dimensional vector, and x has at least one positive element. The value d is the infinity norm of x and

${{x}_{\infty}\overset{\Delta}{=}{\sum\limits_{1 \leq i \leq N}\; x_{i}}};$ thus, d is the normalizing sum. The vector p is the normalized probability vector corresponding to x; therefore,

${p_{i} = \frac{x_{i}}{d}};{1 \leq i \leq {N.}}$

In order to seminormalize the signature x, the system uses a fine-grain memory threshold of probabilities, K, represented in log scale; i.e., K is a positive integer denoting a probability threshold 10^(−K). All probabilities ≧10^(−K) will be scaled in fine-grain, and all probabilities between 0 and 10^(−K) will be scaled in coarse-grain with bucketing. The system also uses a positive integer, S, as the seminormalization range represented in log scale. After seminormalization, a probability value of 1 is scaled to 10^(S). The largest value in the seminormalized vector would be 10^(S). Although not required, S can be equal to K. For use the in equations below, let t=10^(−K), 1=K+2, and u=10^(S). Finally, y is the seminormalized vector corresponding to p. Thus, y=f(p, K, S), where f is the function implementing the seminormalization algorithm. The function f is not an invertible function.

Each element i of the seminormalized vector y is defined by the Equation 26.

$\begin{matrix} {y_{i} = \begin{Bmatrix} {1;} & {0 \leq p_{i} < 10^{{- 2}\; K}} \\ {{v + 2};} & {10^{({{{- 2}\; K} + v})} \leq p_{i} < 10^{({{{- 2}\; K} + v + 1})}} \\ \; & {0 \leq v \leq {K - 1}} \\ \begin{matrix} {\frac{\left( {{10^{K}1} - u} \right)}{\left( {10^{K} - 1} \right)} +} \\ {\frac{10^{K}\left( {u - 1} \right)p_{i}}{\left( {10^{K} - 1} \right)};} \end{matrix} & {10^{- K} \leq p_{i} \leq 1} \end{Bmatrix}} & \left( {{Equation}\mspace{14mu} 26} \right) \end{matrix}$

The first 2 parts of Equation 26 define the coarse-grain bucketing, and the last part of the equation defines the fine-grain scaling. FIG. 7 shows a pictorial representation of Equation 26. The X-axis is shown in log scale. In FIG. 7, S==K, and there are K buckets of width 0.1. The buckets start with the bucket having a left boundary 10^(−2K) and ending with the bucket with the right boundary 10^(−K). There is a special underflow bucket for any probability <10^(−2K). Each p_(i) falling within a bucket is scaled to a fixed count. For probabilities larger than 10^(−K), the p_(i) is scaled using a linear equation. The slope of the linear scaling equation in plot is approximately 10^(S) with the intercept at (K+2).

An example of this approach as applied to an electronic phonebook application on a mobile phone is provided below. In this example, each outgoing call is counted and stored in a raw signature. The system scales the call counts by a large number so that truncation errors in the smoothing and aging process, due to integer arithmetic, are reduced. FIG. 8 illustrates a raw phonebook signature 800 with 6 entries. The row names in signature 800 indicate the person called, and the values are the scaled frequency, after aging and smoothing. Thus, the value 1 represents the long-term memory of a phone call made to John, perhaps many years ago, and not repeated again. Similarly, the entry corresponding to Jane has a signature value of 5. This value can be interpreted two ways: (1) Jane was called as long ago as John, but with a frequency five times greater than John; or (2) Jane was called more recently with the same frequency as John. The larger values represent short-term memories of calls made in the recent past. The normalized probabilities of these events are shown in a probability vector 810.

It is clear the dynamic range of probability vector 810 is quite large. Using the techniques described above, with K=S=4, the system generated a seminormalized vector 820. The system has collapsed the memory of John and Jane into the underflow bucket, thus making them indistinguishable. Some differentiation has been made for Debbie and Naren, although these entries also represent long-term memories, and therefore, the exact difference in frequency or recency of calls is not retained. However, the system captures the precise relative values of Simon and Marty. The values in the seminormalized vector are completely bounded and suitable for stable relevance promotion.

Activity Spike Detection

The learning system is also useful for detecting sudden bursts of activity (i.e., spike detection) at a particular time and day for a particular search item, e.g., a certain television channel. The system can use these spikes of activity to temporarily boost the base relevance values of particular items that have sudden popularity. Typically, spikes happen when an emergency or crisis has happened in the recent past. For example, if a particular news channel is presenting a late-breaking news story that is attracting a high number of viewers, the system will recognize the sudden popularity of the news program and boost its base relevance in recognition of the fact that other users of the system may also be interested in the news story.

In general, when the collective activity level associated with a particular content item is above a certain threshold attributable to statistical variations, then the activity level is considered a spike. The learning system analyzes the current and past activity levels by collectively examining all of the signatures of the user population. If each user is considered an independent random variable whose probability of watching a program is encoded in a stochastic signature, then the collection of all these independent random variables provides a measure of the overall popularity of the content item. Thus, the system employs these signatures to derive a joint probability distribution of the number of users watching a given program at a given time. Thus a new type of signature, herein a “program signature”, r_(k) ^((i,t)), is defined in Equation 27. r _(k) ^((i,t)):=Probability that a program i is being watched by k users at time t; 0≦k≦N  (Equation 27)

An example of a technique for obtaining the program signature is provided below. In general, when the activity level associated with a particular content item exceeds a certain inherent randomness value predicted by the program signature, the system identifies such activity as a spike.

The system creates a set of program signatures, each of which is a statistical convolution of all individual signatures in the population that have watched the particular program. By convolving the individual signatures, the system creates an aggregate mean and standard deviation of the activity level associated with the given program. Thus, a program signature captures the fraction of all of the current users interacting with the system that are currently watching the given program. Because the number of users interacting with the system changes over time, the fraction of users watching a particular program changes over time as well. The system captures this information by creating program signatures for the various time slots.

These signatures estimate the mean and higher moments of the probability distribution of the number of people accessing this program in terms of fractional probabilities. The aggregate signature and related statistical measures define the normal level of activity for the particular search item. Thus, by continually monitoring the current level of activity for the particular search item at a given time, the system can detect if the current activity is above or below the normal level. If the activity exceeds a certain threshold, the system adjusts the reordering technique to temporarily boost the relevance of the particular search item to recognize that the item may be of particular interest.

An example of creating an aggregate signature is provided below. For the sake of simplicity, the example is restricted to one day, one time slot, one content item, i, and a single category of signature (e.g., channel, genre, or microgenre). This technique for finding the aggregate signature is applied to all time periods, all days, all search items, and all signatures. In the following example, N is the number of users using the system, q_(i) ^((j)) is the normalized signature value of user j for item i (i.e., the fraction of time user j watched program i) where 1≦j≦N, Ψ is the index set {1, 2, . . . , N}, Φ_(m) is the set of subsets of Ψ of size m where 0≦m≦N, and X is a random variable denoting the number of users currently watching program i.

The unnormalized probability that there are m users watching program i, herein r_(m), is determined by Equation 28.

$\begin{matrix} {{r_{m} = {\sum\limits_{\Theta \in \Phi_{m}}\;{\prod\limits_{1 \leq k \leq m}\; q_{i}^{(j_{k})}}}},{{{where}\mspace{14mu}\Theta} = \left\{ {j_{1},j_{2},\ldots\mspace{14mu},j_{m}} \right\}}} & \left( {{Equation}\mspace{14mu} 28} \right) \end{matrix}$

The normalization constant, G, is given by Equation 29.

$\begin{matrix} {G = {\sum\limits_{0 \leq m \leq N}\; r_{m}}} & \left( {{Equation}\mspace{14mu} 29} \right) \end{matrix}$

The probability density function of X, f_(X)(m), the mean of X, μ_(X), and the standard deviation of X, σ_(X) are now given by the following equations:

$\begin{matrix} {{{f_{X}(m)} = {\frac{1}{G}r_{m}}};{0 \leq m \leq N}} & \left( {{Equation}\mspace{14mu} 30} \right) \\ {\mu_{X} = {\sum\limits_{0 \leq m \leq N}\;{{mf}_{X}(m)}}} & \left( {{Equation}\mspace{14mu} 31} \right) \\ {\sigma_{X} = \sqrt{\sum\limits_{0 \leq m \leq N}\;{\left( {m - \mu_{X}} \right)^{2}{f_{X}(m)}}}} & \left( {{Equation}\mspace{14mu} 32} \right) \end{matrix}$

The system monitors the number of users watching program i. Chebychev's inequality dictates that, with 96% confidence, the random variable X cannot be above μ+5σ due to inherent randomness. Thus, whenever the number of users watching program i goes beyond μ_(X)+5σ_(X), the system identifies this as a spike of activity. The system can temporarily boost the base relevance of program i in queries for which program i is a candidate in recognition of the fact that the user may be interested in the same program. The relevance can be boosted by a predetermined amount, or it may be boosted by an amount that is proportional to the increase in viewing of the program. In addition, the system can use a variety of multiples of σ_(X) (not only 5σ_(X)) to determine when a spike of activity is occurring.

The system can also infer the overall relevance of particular search items using the aggregate signatures. As described above, the system computes the mean of the statistical convolution of N signatures, N being the number of system users. Using this mean value, the system generically reorders the search results even in the absence of a signature for a particular user. Thus, the user benefits from the systems knowledge of the popular option of various search items, and these popular opinions are used to identify and order search results for presentation to the user. For example, if the aggregate signature has a large mean for the television program “The Apprentice”, then any user who does not have a personal signature will have this item in the top shelf on an appropriate query (the query, for instance, can be “trump”, which is a microgenre of the program “The Apprentice”).

FIG. 9 illustrates an example of detecting an increased level of activity associated with a content item (i.e., an activity spike). A normal level of activity 905, as determined using the techniques described above is shown. Normal level of activity 905 is based on the aggregate signatures. As the system is being used, a current level of activity 910 is generated using continuously calculated aggregate signatures based on the current content items usage or activity. Upon detecting an increase in activity level 915, which is beyond a specified threshold, the system identifies the content item as having a spike of activity, and the system promotes the ranking of that content item, as described above.

The learning system also allows accessing rare search items using preprocessing. In some implementations described above, the search engines work by first gathering significant amounts of results matching the query, and filtering out low relevance results before applying a promotion technique. This technique has several advantages, including increasing the speed of the system and reduces network bandwidth required. However, a specific user may be interested in an item having low overall popularity that is filtered out of the results before applying a promotion technique. In the absence of a signature, this rare item may never me presented in the search results (this rare item is sometimes referred to as the “long tail” in the probability distribution sense).

In order to capture the rare item in the ordered search results, some implementations of the system compute the relevance before filtering, using the promotion techniques described above or other promotion techniques. Thus, the rare item is ranked highly for the particular user, allowing him or her to access the item with ease. Here, signatures enable fine-grain customization and increase user satisfaction.

An inherent feature of the stochastic signature mechanism is the probabilistic nature of the signature entries, i.e., the signature entries are all normalized probabilities. This enables the system to export the signatures to other, potentially unrelated systems, with ease. For example, over some period of time, the television system interface described above learns that, in general, a given user prefers the Spirituality genre 50% of the time, Sports genre 40% of the time, and the Seinfeld show 10% of the time. In response, the system creates a set of signatures for the user that captures these preferences. The user can elect to share this signature information with other systems.

Therefore, when the user registers with a website that sells books, the user can elect to share his signature information with this website. Because the signature information is stored in terms of normalized probabilities, the signature can be easily imported into the website that is configured to utilize such probability information. In addition, the website need not have an identical set of genres as that of the television system in order to use the signature information. For example, the website may not have “Seinfeld” defined as a genre or category of books. In this case, the website can simply renormalize the signature by removing the irrelevant entries, i.e., Seinfeld, and determining new normalized probabilities for the remaining genres. Thus, the new normalized probabilities for the user would be 56% for Spirituality and 44% for Sports. Sharing signatures in this way obviates the need for relearning in the new system. Also, different subsets of signatures can be shared for different systems.

Signature Based Preference Service

As explained above, the learning system captures the user's preferences across multiple dataspaces. In addition, portions of the learning system can be incorporated into various user client devices, thereby enabling the system to capture the user's preferences across multiple devices. For example, the system can track the user's actions performed on a mobile telephone, a television system, a handheld computer device, and/or a personal computer. This enables the system to provide personalized services to the user across the multiple dataspaces and multiple devices. Thus, user preferences expressed on one device can be used to personalize the user interactions on a different device.

Likewise, the learning system can provide the learned user preferences captured in the various signatures to third-party service providers. The information provided to third-party service providers allows the service providers to personalize the services for the user outside of the learning system. In such an implementation, the learning system determines what preference information to provide to the service providers based on the nature of the services provided. The learning system can provide this information on a per transaction basis, or the system can periodically synchronize a set of signatures stored by the third-party service provider. Furthermore, the user can configure the learning system so as to control which third-party service receives user preference information.

By providing a centralized system that learns and stores the user's preferences, the learning system enables the user to avoid creating disconnected pockets of personalization associated with only one particular dataspace or device. Therefore, a user may immediately leverage the preference information contained in the user's signatures when interacting with a new service rather than having to wait for the new service to learn the user preferences. Thus, the learning system can provide personalization information to the third-party service provider to improve the user's experience with the service.

This comprehensive personalization across diverse user activities and devices is especially helpful to the user when the user interacts with the same service provider using different interface devices. Not only does the learning system capture the user's preferences from these diverse interactions, but the system also stores the details of the user's transaction for later retrieval by the user. For example, a user can book a flight through a travel website using a personal computer. The learning system captures the detailed information associated with transaction, e.g., the date of travel, the time of the flight, and the departure and destination city. At a later time, the user wishes to modify the travel reservations, and elects to do so using a mobile telephone. Because the system monitors the user's interactions with various service providers, the system recognizes that the user has placed a telephone call to the travel service. In response, the learning system automatically presents the user's upcoming travel itineraries on the user's mobile telephone or sends the information to the travel service's customer service agent with the user's consent.

In the alternative, if the user is presented with an automated voice response system, the learning system can send the relevant itineraries to the travel service (e.g., via an SMS message dispatched to the telephone number called or DTMF tones at the beginning of the telephone call), which would provide the travel service with a background context of the telephone call to improve the automated voice response system's response to the user voice commands. The power of a comprehensive personalization across diverse user activities and devices becomes very evident in voice based navigation applications. Comprehensive personalization can provide the necessary context that can vastly improve ambiguities in user input that plague these types of systems today.

FIG. 10 illustrates a part of the learning system for providing a context specific personal preference information service. In a preferred embodiment, a user device 1001 a-c solicits a service, on behalf of the user, from a service provider 1002. This can include, for example, making a telephone call to modify a travel itinerary or accessing a search engine to find some information. The context-sensitive personal preference information service 1003 enables the external service provider 1002 to provide a targeted response to the user based on user's prior activity, data access history, and the learned user preferences.

Service provider 1002 can also serve as the source of information and relevance updates for user device 1001 a-c. A network 1002 functions as the distribution framework and can be a combination of wired and wireless connections. The navigation devices can have a wide range of interface capabilities and include such devices as a personal or laptop computer 1001 a, a hand-held device 1001 b (e.g. phone, PDA, or a music/video playback device) with limited display size and an overloaded or small QWERTY keypad, and a television remote control system 1001 e, wherein the remote control has an overloaded or small QWERTY keypad. The navigation devices provide user activity data to the learning system via personal preference information service 1003 to create the various signatures. As mentioned above, in alternate embodiments, the user device can create the various signatures, and the signatures can be kept on the device. This enables the device to locally filter and order content items received from service provider 1002 and/or content items that reside on the device itself.

As described above, the learning system captures the user's preferences from the user's interactions with various dataspaces. FIG. 11 illustrates the local tracking and strengthening of the personal preference signatures based on user activity and the content on a mobile device. For example, user interaction with a telephone book 1101, media applications 1102, email/calendar 1103, and web browser 1104 are tracked, as well as when and where the interaction takes place. In addition to the user's interaction with these applications, the content that is coupled with these applications such as call logs 1101A, music files 1102A, email data/calendar appointments 1103A, and browser cookies 1104A are also tracked to capture the user's preferences. Aggregated actions and various signatures 1105 are captured by the learning system as described above.

The aggregated data and signatures 1105 are used by a wide variety of services, ranging from a local data prefetching service, in order to improve search performance, to a commercial third-party service provider, in order target the user for a specific product offering. The sets of signatures generated by the learning system form an onion-like layered structure; the inner layers are specific and capture the exact details of the user's actions, while the outer layers characterize the user's general preferences. For example, the inner layers capture (1) the time and the location where the user performed an action, (2) the nature of the action (e.g. tuning to a channel or the purchase of a book, DVD, or airline ticket), and (3) the details of the action (e.g. the channel and/or program the user tuned to, the title of book the user ordered, or the departure and destination airports of an airline ticket purchase). This layered structure coincides with the various signatures created by the learning system. The inner layers correspond to the microgenre and keyword signatures, while the outer layers correspond to the genre signatures.

The service provider requesting the user's signature information can designate the degree of specificity of user preferences desired. For example, a video content search engine wishing to use the user's signatures to order the results of a query may request specific information on which channels or program the user watched. A bookstore, on the other hand, may request broad user preferences of book tastes. The personal signature information sent in the later case would not be the individual instances of purchased books, but rather the broad user preferences at a genre level.

FIG. 12 illustrates the information flow when a user device 1203 makes a request to a service provider 1201 (step 1). The request contains a unique identifier that identifies the user or the user device. The identity could be an anonymous yet unique identifier of the device. For example, a one-way hash function of the device hardware identifier may be used to uniquely identify the device; there would be no way to reverse map to the actual device that generated the response, given the one-way nature of the hash function. In this case, the personal preference service 1202 has only have a set of unique device identifiers that share signatures for each user; there would be no identity information beyond the identifiers. In this way, the user's identity is maintained anonymous, yet responses matching user's preferences can be delivered.

In addition to the substance of the request, the communication from user device 1203 to service provider 1201 contains information that describes the context of the request, as explained below. Service provider 1201 communicates the substance of the request and the additional context information to personal preference service 1202 (step 2). The context information includes the identifier of the user device currently being employed, the location of the user device, if available, the time of the request, and general description of the action the user is performing (e.g., the fact the user is currently using a telephone versus playing media). The additional context information enables personal preference service 1202 to provide context-sensitive personal preference information to service provider 1201. Descriptive tags are assigned to the various actions the user can perform using the system. The system associates these descriptive tags with the signatures that are generated by the corresponding actions. In this way, personal preference service 1202 sends relevant preference information based on the tags sent by user device 1203 to service provider 1201 (step 3).

The relevant personal preference information is used by the service provider 1201 to send a targeted response to the user device 1203 (step 4). Additionally, service provider 1201 sends feedback to personal preference service 1202 about the targeted response that was sent (step 5). This feedback is used by personal preference service 1202 to adjust the personal actions signature of the user.

By disaggregating personal preferences through a standalone entity, i.e. personal preference service 1202, multiple service providers that provide different services can all benefit from the aggregated personal preference accrued across different service providers, different user actions, and different user devices. The end user gains immensely due to the key benefit of having targeted responses to many different types of requests. For example, a user who purchases books from Amazon.com gets the benefit of a targeted response when he goes to the Barnes & Nobles site using the techniques described above.

As described above, personal preference service 1202 can also be a centralized aggregator of user actions across different devices. Thus, user actions performed on different devices, e.g., a mobile computing device, a home television with set-top box, and a personal computer, could all be aggregated to provide user preferences for identifying and ordering search results. For example, a user could initiate a remote recording for a favorite program using a mobile device, where the discovery of the desired program can be made easy by leveraging the user's viewing behavior on a television system. Thus, the available episodes of Seinfeld could be automatically displayed in the mobile device, for example, based on the fact that the user has viewed Seinfeld many times in the past on the television system.

FIG. 13 illustrates the information flow when a user device 1302 makes a request to a service provider 1301. In this scenario, the context sensitive personal preference information is sent along with the request (step 1) to generate a response (step 2). The personal preference data 1303 is locally resident on user device 1302. Additionally, personal preference data 1303 is updated (step 3) based on the response received from service provider 1301.

In another implementation of the learning system, a user device can serve as the personal preference provider in a peer-to-peer fashion for other user devices. For example, in a home entertainment network with more than one DVR (Digital Video Recorder), one DVR can serve as the personal preference provider for another DVR resident in the same home. When the user performs a search for content on a particular DVR, the other DVR in the home provides a personalized preference service to enable the user to find the desired content more quickly by leveraging the prior user viewing habits across the different DVRs.

In addition, a particular user can elect to share his or her signatures with another user. This can be accomplished in a peer-to-peer fashion as described above. In this case, the preferences learned for one user are used to personalize content results for another user. For example, the system will generate a set of signatures for a first user while that user selected various content from a book dataspace. These signatures encode the book reading preferences of the first user. A second user has a similar interest to the first user, and the second user wishes to select books related to similar topics as the first user. In this case, the first user can share his signature with the second user. The system then uses the first user's signatures to personalize the content results for the second user. In this way, the system enables the second user to benefit from the learned preferences of the first user without the second user having to train the system.

FIG. 14 illustrates different services 1401, for example, travel services (airline, car, and hotel), food services, entertainment services, and search engines services, that benefit from the context-sensitive personal preference service 1402. Although each service provider may have its own personalized services, when users first identify themselves, the services have no knowledge of the first time customer. The techniques disclosed herein increase the likelihood of the acquiring and retaining first time customers by offering targeted services immediately upon using the service. The techniques disclosed also enhance the first-time user experience. In contrast, without these techniques, users would have to create an account with a service and build an action history with that service before receiving personalized services.

Using the techniques described above, a user, for example, can go to any travel site and the site, without knowing the user and without requiring him to create an account or log in, can still offer the user personalized services based on the history of prior travel actions the user took on other platforms or web sites. Additionally, for services where comprehensive personalization is not in place, these services can leverage the personal preference service discussed above.

Because the learning system and personal preference service operate across multiple dataspaces and multiple user devices, the user device configuration can vary greatly. FIG. 15 illustrates possible user device configurations for use with the learning system and the context-sensitive personal preference service. In one configuration, a user device 1509 can have multiple output capabilities, for example, a display 1501 and/or a voice output 1502. In addition, user device can have a processor 1503, volatile memory 1504, a text input interface 1505, and/or voice input 1506. Furthermore, user device 1509 can have remote connectivity 1507 to a server through a network and can have persistent storage 1508.

In another user device configuration, user device 1509 may not have local persistent storage 1508. In such a scenario, user device 1509 would have remote connectivity 1507 to submit the user's request to a server and retrieve responses from the server. In yet another configuration of user device 1509, the device may not have remote connectivity 1507. In such case, the learning system, personalization database, and signatures are locally resident on local persistent storage 1508. Persistent storage 1508 can be a removable storage element, such as SD, SmartMedia, or a CompactFlash card. In a configuration of user device 1509 with remote connectivity 1507 and persistent storage 1508, user device 1509 can use remote connectivity 1507 for a personalization data update or for the case where the personalization database is distributed between local persistent storage 1508 and a server.

It will be appreciated that the scope of the present invention is not limited to the above-described embodiments, but rather is defined by the appended claims, and these claims will encompass modifications of and improvements to what has been described. For example, embodiments have been described in terms of a television content system. However, embodiments of the invention can be implemented on a mobile phone to assist the user in retrieving personal contact information for individuals. 

What is claimed is:
 1. A computer implemented user-interface method of selecting and presenting a collection of content items in which the presentation is ordered at least in part based on analyzing user selections of content items to learn the content preferences of the user according to a context within which the user selected the content and using the learned content preferences to select and order subsequent user content search results when the user is within the same context, the method comprising: providing access to a set of content items, each content item having at least one associated descriptive term to describe the content item; receiving input entered by the user for identifying desired content items of the set, wherein the input includes at least one character in a series of characters; in response to each character of the input entered by the user, presenting a subset of content items of the set to the user; receiving actions from the user selecting content items of the subset; analyzing the date, day, and time of day of the user selection actions and analyzing the descriptive terms of the selected content items to learn content preferences of the user and to learn a plurality of periodicities of user selections of similar content items, wherein similarity is determined by comparing the descriptive terms of the selected content item with the previously selected content item, and wherein each periodicity indicates an amount of time between user selections of similar content items relative to a reference point; associating each learned periodicity with the respective similar content items and the respective descriptive terms of the similar content items; determining the context in which the user performed the selection actions, the context including a geographic location of the user at the time of the selection actions and at least one of: date, day, and time of day; weighting the learned content preferences of the user according to a measure of recency of selection of the content item having the analyzed descriptive terms, wherein the weights of the learned content preferences associated with a given geographic location of the user are decayed based upon an amount of time elapsed since the last act of decaying said weights while the user is within said given geographic location; associating the determined contexts of the user selection actions, including the geographic location of the user at the time of the selection actions, with the user content preferences learned from the corresponding user selections; determining a present context of the user and selecting and ordering a collection of content items from the set based on a comparison of the descriptive terms of the content items of the collection with the learned content preferences of the user associated with the determined present context and further based on promoting the ranking of those content items associated with descriptive terms further associated with periodicities similar to the date, day, and time of day of the present context; and presenting said collection of content items to the user on a display screen.
 2. The method of claim 1, further comprising weighting the learned content preferences of the user according to at least one of a measure of recency of selection of the content item having the analyzed descriptive terms, number of selections of the content item having the analyzed descriptive terms, and time of use of the content item having the analyzed descriptive terms, wherein the act of selecting and ordering the collection of content items is further based on the weighted learned content preferences so that content items associated with descriptive terms comparable to the learned content preferences having relatively higher weights are ranked relatively more highly.
 3. The method of claim 2, wherein the weights of the learned content preferences are decayed as time passes from the act of learning the content preferences of the user.
 4. The method of claim 2, wherein the weights of the learned content preferences are decayed according to a specified reoccurring interval of time.
 5. The method of claim 2, wherein the weights of the learned content preferences are decayed based upon the number of user selections occurring after the act of learning the content preferences of the user.
 6. The method of claim 1, further comprising analyzing the categories of the selected content items to learn category preferences of the user, wherein selecting and ordering the collection of content items is further based on a comparison of the categories of the content items of the collection with the learned user category preferences.
 7. The method of claim 1, wherein the selecting and ordering the collection of content items is further based on popularity values associated with the content items, each popularity value indicating a relative measure of a likelihood that the corresponding content item is desired by the user.
 8. The method of claim 1, wherein the set of content items includes at least one of television program items, movie items, audio/video media items, music items, contact information items, personal schedule items, web content items, and purchasable product items.
 9. The method of claim 1, wherein the set of content items includes at least one of television program items, movie items, and audio/video media items and the descriptive terms includes at least one of title, cast, director, content description, and keywords associated with the content.
 10. The method of claim 1, wherein the set of content items is contained on at least one of a cable television system, a video-on-demand system, an IPTV system, and a personal video recorder.
 11. The method of claim 1, wherein the input is entered by the user on an input constrained device.
 12. The method of claim 11, wherein the input constrained device has a plurality of overloaded keys, each of the overloaded keys representing two or more characters.
 13. The method of claim 1, wherein the input is entered by the user on at least one of a telephone, a PDA, a computer, and a remote control.
 14. The method of claim 1, further comprising presenting the ordered collection of content items on at least part of a television screen.
 15. The method of claim 1, wherein the display screen is included in a display constrained device.
 16. The method of claim 15, wherein the display constrained device is at least one of a telephone, a PDA, and a remote control.
 17. The method of claim 1, wherein the input comprises at least one subset of characters of a word for describing the desired content items.
 18. The method of claim 17, wherein the input comprises at least two subsets of characters of a phrase for describing the desired content items.
 19. The method of claim 1, wherein at least one of receiving input, presenting the subset of content items, receiving actions from the user, analyzing the descriptive terms, determining the context in which the user performed the selection actions, associating the determined contexts, determining a context of the subsequent input, and selecting and ordering the collection of content items is performed on a server system remote from the user.
 20. The method of claim 1, wherein at least one of receiving input, presenting the subset of content items, receiving actions from the user, analyzing the descriptive terms, determining the context in which the user performed the selection actions, associating the determined contexts, determining the present context, and selecting and ordering the collection of content items is performed on a user client device.
 21. The method of claim 1, wherein the learned content preferences are stored on a user client device and selecting and ordering the collection of content items includes selecting and ordering content items stored on the client device.
 22. The method of claim 1, wherein the context includes a category of the selected content items.
 23. The method of claim 2, wherein the weights of the learned content preferences associated with a given geographic location of the user are not decayed if there are no user selection actions whose context includes said given geographic location.
 24. The method of claim 1, wherein the context includes a frequency of visits to the geographic location of the user at the time of the selection actions.
 25. The method of claim 1, wherein the weights of the learned content preferences associated with the given geographic location of the user are decayed based further upon a smoothing function. 